import { createRouter, createWebHistory } from 'vue-router';

const routes = [
  {
    path: '/',
    name: 'app',
    // component: () => import('../App.vue'),
    // component: () => import('../testComp.vue'),
    component: () =>
      import('../components/my_schedule/pages/main/main_page.vue'),
  },
  // {
  //   path: '/testcomp',
  //   name: 'testcomp',
  //   component: () => import('../testComp.vue'),
  // },
  {
    path: '/main',
    name: 'main',
    component: () =>
      import('../components/my_schedule/pages/main/main_page.vue'),
  },
  {
    path: '/create_new_float',
    name: 'create_new_float',
    component: () =>
      import(
        '../components/my_schedule/pages/create_new_float/create_new_float.vue'
      ),
  },
  //   {
  //   path: '/create_new_float',
  //   name: 'create_new_float',
  //   component: () =>
  //     import(
  //       '../components/my_schedule/unitComps/newFloatTagEl_settings/newFloatTagEl_settings.vue'
  //     ),
  // },
  {
    path: '/float_info',
    name: 'float_info',
    component: () =>
      import('../components/my_schedule/pages/float_info/float_info.vue'),
  },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
